package com.sdy.healthcode.biz.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sdy.healthcode.biz.dto.ThisCourtVO;
import com.sdy.healthcode.biz.model.User;
import com.sdy.mvc.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zzq
 * @since 2020-02-18
 */
public interface UserMapper extends BaseMapper<User> {
    /**
     * 本院人员管理分页
     * @param name
     * @param type
     * @param page
     * @return
     */
    IPage<ThisCourtVO> getPage(Page<ThisCourtVO> page,
                               @Param("userName") String name,
                               @Param("type") Integer type,
                               @Param("authScan") Integer authScan,
                               @Param("authCockpit") Integer authCockpit);
}
